OtpFieldColors

Colors of an OtpField, created with OtpFieldDefaults.colors. Checked pairs (opaque colors only; masked OtpMask.FilledCell cells use the border colors):

Violations are logged and listed in contrastWarnings but never thrown, so brand colors remain usable. Disabled colors are exempt.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Contrast problems found at construction, empty when compliant. Contrast is warned (and logged once per instance), not enforced, so brand colors remain usable.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val text: Color

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int